package com.example.webcomen.Model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("t_friend_group")
//联系人分组中的联系人
public class FriendGroup {
    @TableId
    private Integer id;
    private Integer uid;
    @TableField("group_name")
    private String groupname;

    public FriendGroup(Integer id, Integer uid, String groupName) {
        this.id = id;
        this.uid = uid;
        this.groupname = groupName;
    }

    public FriendGroup( Integer uid, String groupName) {
        this.uid = uid;
        this.groupname = groupName;
    }
}
